const key = 'managerCookie'

const setCookieToStorage = (data) => my.setStorageSync({
	key,
	data
})
const getCookieFromStorage = () =>  my.getStorageSync({key})

//手机端不是个列表，电脑端是个列表
const getSessionIdFromResponse = (res) => {

	return res.headers['set-cookie']
}

module.exports = {
	setCookieToStorage,
	getCookieFromStorage,
	getSessionIdFromResponse
}